<!--

   通用产品选 择,
   $_GET['type'] == 1   单选
                 == 2   多选

-->
<div class="bjui-pageHeader">
    <div class="pull-right">
        <!-- Think.get.type  == 2  多选 -->
        <eq name="Think.get.type" value="2">
            <input type="checkbox" name="lookupType" value="1" data-toggle="icheck" data-label="追加" checked>
            <button type="button" class="btn-blue" data-toggle="lookupback" data-lookupid="ids" data-warn="请至少选择一项" data-icon="check-square-o">选择勾选</button>
        </eq>
    </div>
    <form id="pagerForm" data-toggle="ajaxsearch" data-loadingmask="true" action="{:U('Index/save')}" method="post">
        <input type="hidden" name="pageSize" value="{:I('param.pageSize')}" />
        <input type="hidden" name="pageCurrent" value="{:I('param.pageCurrent')}" />
        <input type="hidden" name="orderField" value="{:I('param.orderField')}" />
        <input type="hidden" name="orderDirection" value="{:I('param.orderDirection')}" />
        <div class="bjui-searchBar">
            <label>名称:</label>
            <input type="text" name="" />
            <button type="submit" class="btn-default" data-icon="search">查询</button>
            <a class="btn btn-orange" href="javascript:;" data-toggle="reloadsearch" data-clear-query="true" data-icon="undo">清空查询 </a>
        </div>
    </form>
</div>
<div class="bjui-pageContent tableContent">
    <table class="table table-bordered table-hover table-striped table-top" data-selected-multi="false">
        <thead>
        <tr>
            <eq name="Think.get.type" value="2">
                <th width="26"><input type="checkbox" class="checkboxCtrl" data-group="ids" data-toggle="icheck"></th>
            </eq>
            <th>属性名称</th>
            <th>输入方式</th>
            <th>可选值</th>
            <th width="100">操作</th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <eq name="Think.get.type" value="2">
                <td width="26"><input type="checkbox" value="{id:1, attr_name:'颜色',attr_input:'单选',attr_item:'一级_二级_三级_四级_五级'}" class="checkboxCtrl" name="ids" data-toggle="icheck"></td>
            </eq>
            <td>能效等级</td>
            <td>单选</td>
            <td>一级,二级,三级,四级,五级</td>
            <td>
                <button type="button" class="btn-green" data-toggle="lookupback" data-args="{id:1, attr_name:'颜色',attr_input:'单选',attr_item:'一级_二级_三级_四级_五级'}">选</button>
            </td>
        </tr>
        <tr>
            <eq name="Think.get.type" value="2">
                <td width="26"><input type="checkbox" value="{id:2, attr_name:'品牌',attr_input:'文本',attr_item:''}" class="checkboxCtrl" name="ids" data-toggle="icheck"></td>
            </eq>
            <td>品牌</td>
            <td>文本</td>
            <td></td>
            <td>
                <button type="button" class="btn-green" data-toggle="lookupback" data-args="{id:2, attr_name:'品牌',attr_input:'文本',attr_item:''}">选</button>
            </td>
        </tr>
        <tr>
            <eq name="Think.get.type" value="2">
                <td width="26"><input type="checkbox" value="{id:3, attr_name:'型号',attr_input:'文本',attr_item:''}" class="checkboxCtrl" name="ids" data-toggle="icheck"></td>
            </eq>
            <td>型号</td>
            <td>文本</td>
            <td></td>
            <td>
                <button type="button" class="btn-green" data-toggle="lookupback" data-args="{id:3, attr_name:'型号',attr_input:'文本',attr_item:''}">选</button>
            </td>
        </tr>
        </tbody>
    </table>
</div>
<include file="Common/footer" ftype="page" />